package web.request

import org.json.JSONObject

class Response(
    val errMsg: String,
    val errCode: Int,
    val request: String
) {

    override fun toString(): String {
        val json = JSONObject()
        json.put("errMsg", errMsg)
        json.put("errCode", errCode)
        json.put("request", request)
        return json.toString()
    }
}